{% extends 'auth/base.html' %}
{% block title %}注册页面{% endblock %}
{% block head %}
<script src="https://cdn.bootcss.com/jquery/3.4.1/jquery.min.js"></script>
<script src="{{ url_for('static', filename = 'js/register.js')}}"></script>
{% endblock %}
{% block content %}
    <div class="register-container">
        <h2>注册</h2>
        <form action="#" method="post">
            <input type="email" name="email" placeholder="邮箱" required>
            <input type="text" name="username" placeholder="用户名" required>
            <div class="verification-code-container">
                <input type="number" name="captcha" placeholder="验证码" required>
                <button type="button" class="btn" id="captcha-btn">获取验证码</button>
            </div>
            <input type="password" name="password" placeholder="密码" required>
            <input type="password" name="password_confirm" placeholder="确认密码" required>
            <input type="submit" value="注册">
        </form>
    </div>
{% endblock %}